<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  
</body>
<script>

  async function fn(){
    console.log("hello");
    // return "异步的数据";
    return new Promise((a,b)=>{ a("ok") })
  }
  const f = fn();
  console.log(f);
  f.then(res=>{
    console.log(res);
  })
  

</script>
</html>